import axios from '@/utils/request'

export const getLoactionInfo = (form)=>{
    let loactionInfo = axios.post('/index/comminfo/getLoactionInfo',form)
    return loactionInfo
}

export const editLocation = (type,data)=>{
    let editLocation = axios.post('/index/comminfo/editLocation',{
        type,
        data
    })
    return editLocation
}

export const batchEditLocation = (type,data)=>{
    let batchEditLocation = axios.post('/index/comminfo/batchEditLocation',{
        type,
        data
    })
    return batchEditLocation
}